package java6681.single;

public class GameBoss6681 {
    private String name;
    private float hp;
    private int moveSpeed;
    private float attack;
    private GameBoss6681 instance;

    private GameBoss6681() {
        this.name = "boss";
        this.hp = 100;
        this.moveSpeed = 1;
        this.attack = 100;
    }

    public int getMoveSpeed() {
        return moveSpeed;
    }

    private static GameBoss6681 gameBoss6681 = new GameBoss6681();

    public static GameBoss6681 getInstance() {
        return gameBoss6681;
    }

    public void addMoveSpeed(int speed){
        moveSpeed += speed;
    }
}
